<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <style>
            html,body,.view{
                height:570px;
                width:320px;
                padding:0;
                margin:0;
            }
            #preview{
                width:100%;
                height:100%;
                padding:0;
                margin:0;
            }
        </style>
        <script type="text/javascript" src="../internal.js"></script>
        <link rel="stylesheet" href="preview.css" type="text/css" />
        <script src="../../ueditor.parse.js"></script>
        <title></title>
    </head>
    <body class="view">
        <div id="preview"  class="preview">
    <div class="m-preview-layer" id="mod-art-preview"  >
        <div class="m-preview">
            <div class="m-preview-main">
                <span class="bg"></span>
                <div class="in">
                    <div class="page">
                        <div  class="page-container" style="padding-top:22px">
                            <section class="article" id="content"></section>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
        </div>
    </body>
    <script>
        document.getElementById('content').innerHTML = editor.getContent();
        uParse('#content',{
            rootPath : '../../',
            chartContainerHeight:500
        })
        dialog.oncancel = function(){
            document.getElementById('content').innerHTML = '';
        }
    </script>
</html>